package top.zhaojx.rpc.transport;

import top.zhaojx.rpc.entity.RpcRequest;
import top.zhaojx.rpc.transport.codec.serializer.CommonSerializer;
/**
 * 客户端类通用接口
 */
public interface RpcClient {

    byte DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;

    Object sendRequest(RpcRequest rpcRequest);
}
